<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.tss.util.*"%>
<%@page import="com.store.*"%>
<%@page import="com.jedi.*"%>
<%@page import="java.util.*"%>
<%@page import="java.text.*"%>
<%@include file="../global_var.jsp"%>
<%@include file="../check_login.jsp"%>
<%

String enddate = new SimpleDateFormat("yyyy-MM-dd").format(Calendar.getInstance().getTime());
Calendar calen = Calendar.getInstance();
calen.setTime(TSSDate.parseDate(enddate));
calen.add(Calendar.MONTH, -1);
String begindate = new SimpleDateFormat("yyyy-MM-dd").format(calen.getTime());
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
List list = null;

int stateid =Integer.parseInt( ParamUtils.getParameter(request,"stateid","0"));
User just_user = (User)session.getAttribute("LoginUser");
String power_enable_id = "12003";
if (!just_user.hasPower(power_enable_id)) {
	out.println(strNoPowerInfo); 
	return;
}

%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>项目搜索列表</title>
    
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    
   <link href="style/main.css" rel="stylesheet" type="text/css">
<script language="javascript" src="js/common.js"></script>
<script language="javascript">
function chk_submit() {
	var oForm = document.operatorForm;
	oForm.action = "system_mgt/company_list.jsp";
	return true;
}
function getstate(){
	
	var oForm = document.operatorForm;
	oForm.stateid_1.value=oForm.stateid.value;
	
	//alert(oForm.stateid_1.value);

}
</script>

</head>




<body 
	leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td >
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			
			<tr>
				<td height="100" align="center" valign="top"
					style="padding-top:20px;padding-bottom:10px;">
					<form name="operatorForm" method="post"
						onsubmit="return chk_submit();">
				<table width="80%" border="0" cellpadding="3" cellspacing="1"
					bgcolor="#FFFFFF">
					
					
					
					<tr>
						<td height="24" align="right" bgcolor="#858585"><font
							color="#FFFFFF">厂商名称：</font></td>
						<td bgcolor="#EDEDF0"><input name="comname" type="text"
							value="" size="20" maxlength="50" class="inputbox"></td>
					</tr>
					
					
					<tr>
						<td height="24" align="right" bgcolor="#858585"><font
							color="#FFFFFF">创建日期：</font></td>
						<td bgcolor="#EDEDF0">
						
						 从 
                  <span id="htmlBeginTime"> 
                  	<input type="text" name="begindate" size="15" maxlength="15" value="<%=begindate%>"  readonly> 
                  </span> <a href="javascript:void(0)" onclick="gfPop.fPopCalendar(document.forms[0].begindate);return false;"
								HIDEFOCUS>&nbsp;<img name="popcal" align="absBottom" src="calendar/calbtn.gif" width="18" height="18"
									border="0" alt=""></a>
 							至 	

                   <span id="htmlEndTime">
                   	<input type="text" name="enddate" size="15" maxlength="" value="<%=enddate%>" readonly>
                   </span>
                   <a href="javascript:void(0)" onclick="gfPop.fPopCalendar(document.forms[0].enddate);return false;"
								HIDEFOCUS>&nbsp;<img name="popcal" align="absBottom" src="calendar/calbtn.gif" width="18" height="18"
									border="0" alt=""></a>							</td>
					</tr>
					<tr>
						<td height="24" align="right" bgcolor="#EDEDF0">&nbsp;</td>
						<td bgcolor="#EDEDF0"><input type="submit" name="submit"
							value="搜 索" class="inputButton">
							 <input type="reset" name="reset"
							value="重 写" class="inputButton">
							
						
							 </td>
					</tr>
				</table>
				</form>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>


<iframe width="168" height="190" name="gToday:normal:agenda.js" id="gToday:normal:agenda.js"
			src="calendar/ipopeng.htm" scrolling="no" frameborder="0" style="BORDER-RIGHT:2px ridge; BORDER-TOP:2px ridge; Z-INDEX:999; LEFT:-500px; VISIBILITY:visible; BORDER-LEFT:2px ridge; BORDER-BOTTOM:2px ridge; POSITION:absolute; TOP:0px">
		</iframe>
</body>

</html>
